﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SmartMoney.WebApp.Models
{
    [MetadataType(typeof(MoneyAccountModel))]
    public partial class MoneyAccount
    {
        
    }
    public class MoneyAccountModel
    {
        [ScaffoldColumn(true)]
        public int MoneyAccountId { get; set; }
        [Required]
        public string Name { get; set; }
        public string Description { get; set; }
        [ScaffoldColumn(false)]
        public string UserName { get; set; }
        public Nullable<int> MoneyAccountTypeId { get; set; }
    }
}